package com.lagou.edu.transfer.dao;

import com.lagou.edu.spring.annotations.Component;
import com.lagou.edu.spring.mybatis.MapperBean;
import com.lagou.edu.transfer.pojo.Account;
import com.lagou.niancheng.core.config.Param;
import com.lagou.niancheng.core.config.ParamObject;

/**
 * @author 应癫
 */
@Component
@MapperBean
public interface AccountDao {

    Account queryAccountByCardNo(@Param("cardNo") String cardNo) throws Exception;

    void updateAccountByCardNo(@ParamObject Account account) throws Exception;
}
